nat-translation
This command configures the NAT Translation table, which lets you define network address translation (NAT) rules for translating source IP addresses per VoIP interface (SIP control and RTP media traffic) into NAT IP addresses (global - public) when the device is located behind NAT.
Syntax
(config-network)# nat-translation <Index> (nat-translation-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
remote-interface-name |
Assigns a media IP interface (listed in the Remote Media Interface table) of the remote Media Component(s) operating under the Cluster Manager (Signaling Component). Note: This command is applicable only to Mediant CE SBC. |
source-ip-address |
Defines the source IP address (IPv4 or IPv6). Outgoing packets sent from this IP address are NAT'ed. Note: The parameter is applicable only to Mediant VE in HA mode that is deployed on the Azure cloud platform. |
src-end-port |
Defines the optional ending port range (0-65535) of the IP interface, used as matching criteria for the NAT rule. |
src-interface-name |
Assigns an IP network interface (configured in the IP Interfaces table) to the rule. Outgoing packets sent from the specified network interface are NAT'ed. |
src-start-port |
Defines the optional starting port range (0-65535) of the IP interface, used as matching criteria for the NAT rule. |
tar-ip-mode |
Defines the NAT IP address mode when the device is deployed in an Amazon Web Services (AWS) cloud-computing environment. |
target-end-port |
Defines the optional ending port range (0-65535) of the global address. |
target-ip-address |
Defines the global (public) IP address. |
target-start-port |
Defines the optional starting port range (0-65535) of the global address. |
Command Mode
Privileged User
Example
This example configures a NATed IP address (202.1.1.1) for all traffic sent from IP network interface "voice":
# configure network (config-network)# nat-translation 0 (nat-translation-0)# src-interface-name voice (nat-translation-0)# target-ip-address 202.1.1.1